﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KPIS.GERP.GBMS.MODEL;

namespace KPIS.GERP.GBMS.DAL
{
    public interface IOptionDAL
    {
        int Insert(OptionInfo optInfo);

        int Update(OptionInfo optInfo);

        int Delete(int seq);

        IList<OptionInfo> Search(OptionInfo optInfo);

        IList<TreeViewInfo> TreeView(int Type);
        
        bool CheckDuplicateCode(string code, string sequence);

     }
}
